Skip to content

add 1s delay to start of key autos#366

Open
aschokking wants to merge 3 commits intomainfrom
auto-delays
Open

add 1s delay to start of key autos#366
aschokking wants to merge 3 commits intomainfrom
auto-delays

Conversation

@aschokking
Copy link
Copy Markdown
Contributor

Why are we doing this?

Especially with the deadwheels on, we were seeing what looked like overruns causing erratic driving behavior at the start of auto. This PR adds back in a 1s delay to hopefully wait out the storm.

Asana task URL:

Whats changing?

Questions/notes for reviewers

How this was tested

  • tested on robot
  • tested in simulator
  • unit tests added

Video/screenshots (from simulator or live robot)


PR feedback legend

Symbol Meaning
⭐ ⭐ ⭐ must be addressed
⭐ ⭐ should be addressed
something to consider, a good idea

Copilot AI review requested due to automatic review settings April 4, 2025 04:51
@aschokking aschokking requested review from a team and anthonytrenh as code owners April 4, 2025 04:52
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (3)

src/main/java/competition/auto_programs/vision/RightFourCoralAuto.java:30

  • [nitpick] Consider extracting the delay duration into a named constant to avoid magic numbers and simplify future adjustments.
this.addCommands(new WaitCommand(Seconds.of(1)));

src/main/java/competition/auto_programs/vision/LeftFourCoralAuto.java:31

  • [nitpick] Consider extracting the delay duration into a named constant to avoid magic numbers and simplify future adjustments.
this.addCommands(new WaitCommand(Seconds.of(1)));

src/main/java/competition/auto_programs/FromCageScoreOneCoralAutoFactory.java:44

  • [nitpick] Consider extracting the delay duration into a named constant to avoid magic numbers and simplify future adjustments.
auto.addCommands(new WaitCommand(Seconds.of(1)));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants